Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Explain the main reason for overloading the [] operator

Explain the main reason for overloading the [] operator

Answers


Davis
The [] is usually overloaded to allow an array encapsulated with a class to be indexed with the normal array indexing syntax
Githiari answered the question on November 17, 2017 at 05:50

Answer Attachments

Exams With Marking Schemes

Related Questions